package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * receiptDetails对象 lab_receipt_details
 * 
 * @author winner pan
 * @date 2022-05-13
 */
public class LabReceiptDetails extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 明细ID */
	private Long detailId;

	/** 单据ID */
	@Excel(name = "单据ID")
	private Long instanceId;

	/** 资产名称 */
	@Excel(name = "资产名称")
	private String assetName;

	/** 规格 */
	@Excel(name = "规格")
	private String specs;

	/** 单价(元) */
	@Excel(name = "单价(元)")
	private BigDecimal unitPrice;

	/** 数量 */
	@Excel(name = "数量")
	private Long quantity;
	
	private BigDecimal totalMoney;

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public Long getDetailId() {
		return detailId;
	}

	public void setInstanceId(Long instanceId) {
		this.instanceId = instanceId;
	}

	public Long getInstanceId() {
		return instanceId;
	}

	public void setAssetName(String assetName) {
		this.assetName = assetName;
	}

	public String getAssetName() {
		return assetName;
	}

	public void setSpecs(String specs) {
		this.specs = specs;
	}

	public String getSpecs() {
		return specs;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public Long getQuantity() {
		return quantity;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("detailId", getDetailId())
				.append("instanceId", getInstanceId()).append("assetName", getAssetName()).append("specs", getSpecs())
				.append("unitPrice", getUnitPrice()).append("quantity", getQuantity()).toString();
	}
}
